package com.mark.mall.admin.platform.dto.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author admin
 * Created on 2021/3/1 18:06
 */
@Data
@ApiModel("后台管理员修改")
public class UserUpdateParam {
    @ApiModelProperty("用户id")
    @NotEmpty(message = "用户id不能为空！")
    private String id;

    @ApiModelProperty("用户新的用户名")
    @NotEmpty(message = "用户名不能为空！")
    private String userName;

    @ApiModelProperty("用户新的密码")
    @NotEmpty(message = "密码不能为空！")
    private String password;
}
